<!-- scada系统展示页 （首页左上角）-->
<template>
	<view>
		<web-view :src="src"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return{
				src:"https://172.25.10.3:8103"
			}
		},
		onLoad() {
			uni.getStorage({
				key: 'internetName',
				success: (res)=>{
						console.log(res.data)
						if(res.data=="内网" || res.data=="Intranet"){
							this.src="https://172.25.10.3:8103"
						}else{
							this.src="https://dms.smxwheel.com:8103"
						}
				}
			});
			console.log(this.src)
		},
		methods: {
			
		}
	}
</script>

<style>
</style>
